<div bsModal #createOrEditModal="bs-modal" (onShown)="onShown()" class="modal fade" tabindex="-1" role="dialog"
    aria-labelledby="createOrEditModal" aria-hidden="true" [config]="{ backdrop: 'static' }">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <form *ngIf="active" #roleForm="ngForm" novalidate (ngSubmit)="save()" autocomplete="off">
                <div class="modal-header">
                    <h4 class="modal-title">
                        <span *ngIf="systeminfo_id">修改</span>
                        <span *ngIf="!systeminfo_id">新建</span>
                    </h4>
                    <button type="button" class="close" (click)="close()" [attr.aria-label]="l('Close')">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="col-sm-9">
                        <div class="form-group">
                            <label for="f_SYSInterfaceName">接口名称<span style="color:red">*</span></label>
                            <input id="f_SYSInterfaceName" #nameInput="ngModel" class="form-control" type="text" name="f_SYSInterfaceName"
                                [(ngModel)]="systeminfo.f_SYSInterfaceName" required maxlength="32" />
                            <validation-messages [formCtrl]="nameInput"></validation-messages>
                        </div>
                        <div class="form-group">
                            <label for="f_SystemCode">系统编号<span style="color:red">*</span></label>
                            <input id="f_SystemCode" #nameInput="ngModel" class="form-control" type="text" name="f_SystemCode"
                                [(ngModel)]="systeminfo.f_SystemCode" required />
                            <validation-messages [formCtrl]="nameInput"></validation-messages>
                        </div>
                        <div class="form-group">
                            <label for="f_SystemName">系统名称<span style="color:red">*</span></label>
                            <input id="f_SystemName" #nameInput="ngModel" class="form-control" type="text" name="f_SystemName"
                                [(ngModel)]="systeminfo.f_SystemName" required />
                            <validation-messages [formCtrl]="nameInput"></validation-messages>
                        </div>
                        <!-- <div class="form-group">
                            <label for="f_TableName">表名<span style="color:red">*</span></label>
                            <input id="f_TableName" #nameInput="ngModel" class="form-control" type="text" name="f_TableName"
                                [(ngModel)]="systeminfo.f_TableName" required />
                            <validation-messages [formCtrl]="nameInput"></validation-messages>
                        </div> -->
                        <div class="form-group">
                            <label for="f_Remark">备注 </label>
                            <input id="f_Remark" #nameInput="ngModel" class="form-control" type="text" name="f_Remark"
                                [(ngModel)]="systeminfo.f_Remark"  />
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button [disabled]="saving" type="button" class="btn btn-secondary" (click)="close()">
                        取消
                    </button>
                    <button type="submit" class="btn btn-primary" [disabled]="!roleForm.form.valid" [buttonBusy]="saving"
                        [busyText]="l('SavingWithThreeDot')">
                        <i class="fa fa-save"></i> <span>确定</span>
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>